package com.zengqingfa.designpattern.behavior.observer.jdk;

import java.util.Observable;
import java.util.Observer;

/**
 *
 * @fileName: ConcreteObserver1
 * @author: zengqf3
 * @date: 2021-4-23 15:10
 * @description:
 */
public class ConcreteObserver1 implements Observer {

    @Override
    public void update(Observable o, Object arg) {
        System.out.println("观察者ConcreteObserver1收到消息:" + arg);
    }
}
